<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var stature = prompt("请输入您的身高",160);
        var weight =prompt("请输入您的体重",80);
        var sum = (stature-108)*2;
        if(sum == weight){
            alert("您的体重为标准体重");
        }else if(sum >= weight){
            alert("您的体重偏瘦");
        }else{
            alert("您的体重超重");
        }
    </script>
</head>
<body>
    
</body>
</html>